* {
    padding: 0;
    margin: 0;
}


body {
    height: 20000px;
}

body,h1,h2,h3,p,ul,li,h4,h5,h6 {
    padding: 0;
    margin: 0;
}

h1.title {
    color: red;
    font-size: 30px;
}

#a {
    color: red;
    font-size: 30px;
}

.b:link {
    color: greenyellow;
}

.b:visited {
    color: slateblue;
}

.b:hover {
    color: skyblue;
}   

.b:active {
    color: red;
}





/* div {
    width: 200px;
    height: 200px;
    background: red;
}

div:hover {
    transition: all 0.5s;
    width: 400px;
    height: 400px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.6)
}

div:hover p {
    font-size: 30px;
    color: #fff;
}

div:hover p span {
    color: skyblue;
} */


.c h1 {
    color: skyblue;
}



.d > h1 {
    color: greenyellow;
}




.e {
    width: 200px;
    height: 200px;
    background: antiquewhite;
}

.e + .f {
    color: aqua;
    font-size: 40px;
}

.e:hover + .f{
    width: 400px;
    height: 400px;
    transition: all .4s;
    background: skyblue;
}





.g {
    width: 200px;
    height: 200px;
    background: red;
}

.g ~ .h,.i {
    width: 300px;
    height: 300px;
    background: orange;
}




.j[title ^= "a"] {
    color: skyblue;
}

.j[title $= "a"] {
    color: red;
}









.k {
    width: 200px;
    border: 1px solid black;
}

.k::first-letter {
    color: red;
    font-size: 20px;
}

.k::first-line {
    color: skyblue;
    font-size: 20px;
}   




.l .span1::after {
    content: "*";
    color: red;
    margin-left: 10px;
}

.l .span1::before {
    content: "|";
    color: skyblue;
    margin-right: 10px;
}






.box {
    width: 108px;
    height: 38px;
    border: 1px solid rgba(0,0,0,0.5);
    box-shadow: 0 0 10px greenyellow;
    border-radius: 25px;
    position: relative;
}
.boxc {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}
.boxc::after {
    position: absolute;
    left: 57px;
    top: 6px;
    font-size: 18px;
    content: "OFF";
    color: red;
}
.box:hover .boxc{
    transition: all .2s;
    left: 64px;
}
.box:hover .boxc::after {
    transition: all .2s;
    content: "ON";
    left: -56px;
}
.box:hover {
    background: skyblue; 
}

p:empty {
    width: 200px;
    height: 200px;
    background: red;
}

a:target {
    width: 100%;
    height: 200px;
    display: block;
    border: 10px solid black;
}